package com.lottery.football.util;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

public class PropertiesUtil
{
	public static String get(String key)
	{
		Properties p = new Properties();
		try
		{
			p.load(PropertiesUtil.class.getClassLoader().getResourceAsStream("url.properties"));
			return p.getProperty(key);
		}
		catch (FileNotFoundException e)
		{
			e.printStackTrace();
		}
		catch (IOException e)
		{
			e.printStackTrace();
		}
		
		return null;
	}
}
